package com.example.mapper;

import com.example.pojo.Course;
import com.example.pojo.CourseLearnUnit;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CourseMapper {

    //课程创建
    void createCourse(Course course);

    //课程查询
    Course queryByName(String courseName);

    //学习单元创建
    void createLearnUnit(CourseLearnUnit courseLearnUnit);

    CourseLearnUnit queryByTitle(String unitTitle);
}
